package com.qtenv.datasync.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Blob;
import java.util.Date;

/**
 * <p>
    * GIS图层
    * </p>
 *
 * @author CBL
 * @since 2022-07-14
 */
@Data
@TableName("dw_gis_layer")
@ApiModel(value = "GisLayer对象", description = "GIS图层")
public class GisLayer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("平台表单自增主键")
    @TableId("ID")
    private Integer id;

    @ApiModelProperty("租户ID")
    @TableField("tenant_id")
    private String tenantId;

    @ApiModelProperty("是否底图图层，0：否，1：是")
    @TableField("is_base")
    private Integer isBase;

    @ApiModelProperty("图层名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("底图图层")
    @TableField("base_layer")
    private String baseLayer;

    @ApiModelProperty("底图视角")
    @TableField("base_view")
    private String baseView;

    @ApiModelProperty("是否带边界遮罩，0：否，1：是")
    @TableField("boundary_mask")
    private Integer boundaryMask;

    @ApiModelProperty("区域编码，带边界遮罩时须填写")
    @TableField("area_code")
    private String areaCode;

    @ApiModelProperty("城市名称，用于获取天气预报")
    @TableField("city_name")
    private String cityName;

    @ApiModelProperty("图层类型，1：瓦片图层，2：矢量图层")
    @TableField("layer_style")
    private Integer layerStyle;

    @ApiModelProperty("图层来源，1：业务生成，2：地图服务")
    @TableField("layer_source")
    private Integer layerSource;

    @ApiModelProperty("要素类型，1：点，2：线，3：面")
    @TableField("geo_type")
    private Integer geoType;

    @ApiModelProperty("业务类型")
    @TableField("biz_type")
    private String bizType;

    @ApiModelProperty("服务类型，WMS、WMTS、WFS")
    @TableField("service_type")
    private String serviceType;

    @ApiModelProperty("服务地址")
    @TableField("service_url")
    private String serviceUrl;

    @ApiModelProperty("服务图层标识")
    @TableField("service_layer")
    private String serviceLayer;

    @ApiModelProperty("瓦片格式，image/png、image/jpeg")
    @TableField("tile_format")
    private String tileFormat;

    @ApiModelProperty("坐标系，EPSG:3857、EPSG:4326、EPSG:4490")
    @TableField("crs")
    private String crs;

    @ApiModelProperty("默认显示图层，0：否，1：是")
    @TableField("is_show")
    private Integer isShow;

    @ApiModelProperty("是否透明，0：否，1：是")
    @TableField("transparent")
    private Integer transparent;

    @ApiModelProperty("图层排序号")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("是否启用，0：否，1：是")
    @TableField("enable")
    private Integer enable;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;


}